﻿using NiceJson;

namespace Game
{
    public class PlayerConfigData
    {
        public int id { get; private set; }
        
        public string name { get; private set; }
        
        public string url { get; private set; }

        public PlayerConfigData(int id, JsonNode dataNode)
        {
            this.id = id;
            this.name = dataNode["name"];
            this.url = dataNode["url"];
        }
    }
}